<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<div id="app">
    <h1>test</h1>
    <h1>{{ msg }}</h1>
    <h2>{{password}}</h2>
    姓名:<input type="text" v-model="username">
    {{username}}
    密码:<input type="text" v-model="password">
    {{password}}
    <br>
    <input type="button" value="注册" @click="register">
</div>
</body>
</html>
